<?php

/**
 * Created by JetBrains PhpStorm.
 * User: GMC02
 * Date: 10/9/13
 * Time: 4:02 PM
 * To change this template use File | Settings | File Templates.
 */
class SiteController extends Controller {
    public function accessRules() {
        return array();

    }

    public function filters() {
        return array(
            'accessControl',
        );
    }

    public function actions() {
        return array(
            'sitemapxml' => array(
                'class' => 'ext.sitemap.ESitemapXMLAction',
                'importListMethod' => 'getBaseSitePageList',
            ),
        );
    }

    public function  actionIndex() {
        $this->redirect(HSUrl::backendDefaultUrl());
    }

}
